package com.yy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 套餐菜品关系表实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "套餐菜品关系表实体类")
public class SetmealDish implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "套餐id")
    private Long setmealId;
    @ApiModelProperty(value = "菜品id")
    private Long dishId;
    @ApiModelProperty(value = "菜品名称")
    private String name;
    @ApiModelProperty(value = "菜品单价")
    private BigDecimal price;
    @ApiModelProperty(value = "菜品份数")
    private Integer copies;
}
